package com.gu.service;

import com.gu.service.impl.OssFileDegradeFeignClient;
import entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-28-16:11
 */
@FeignClient(value = "service-oss",fallback = OssFileDegradeFeignClient.class)
@Service
public interface OssClients {

    @DeleteMapping("/eduOss/deleteByUrl")
    CommonResult deleteByUrl(@RequestParam("coverName") String coverName);
}
